﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HealthExaminationSys.DBUtility
{
    public class DbConfigOther : DbConfig
    {
        public DbConfigOther(string deviceName = "")
        {
             DeviceName = deviceName;
        }
        string DeviceName;
        /// <summary>
        /// 获取连接字符串。
        /// </summary>
        protected override string ConnStr_Name { get { return "ConnStr" + (string.IsNullOrWhiteSpace(DeviceName) ? "1" : "_" + DeviceName); } }
        /// <summary>
        /// 获取提供程序名称属性。
        /// </summary>
        protected override string DataSourceName_Name { get { return "DataSourceName" + (string.IsNullOrWhiteSpace(DeviceName) ? "1" : "_" + DeviceName); } }
    }
}
